home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / CDOS10.ARJ / TIMEFCTS.H < prev    next >
C/C++ Source or Header  |  1992-07-07  |  2KB  |  46 lines

  1. #if !defined (TIMEFCTS)           /* Prevents multiple declarations errors */
  2. #define TIMEFCTS
  3.  
  4. /*----- Library Header Files ----------------------------------------------*/
  5. /*----- Global Macros -----------------------------------------------------*/
  6.  
  7. #include "stdmacro.h"
  8.  
  9.  
  10. /*----- Global TypeDefs ---------------------------------------------------*/
  11.  
  12. #include "stdtype.h"
  13.  
  14.  
  15. /*----- Prototype ---------------------------------------------------------*/
  16.  
  17. void far ticktimer_install (void) ;            /* Install/De-install timer */
  18.  
  19.  
  20. /*----- Prototype ---------------------------------------------------------*/
  21.  
  22. void far ticktimer_reset (void) ;                    /* Reset tick counter */
  23.  
  24.  
  25. /*----- Prototype ---------------------------------------------------------*/
  26.  
  27. dword far ticktimer_read (void) ;             /* Return current tick count */
  28.  
  29.  
  30. /*----- Prototype ---------------------------------------------------------*/
  31.  
  32. dword far diffdate             /* Compute number of days between two dates */
  33.  
  34. ( int day1,                                       /* 1st date: day  (1-31) */
  35.   int month1,                                    /* 1st date: month (1-12) */
  36.   int year1,                                      /* 1st date: year (xxxx) */
  37.   int day2,                                       /* 2nd date: day  (1-31) */
  38.   int month2,                                    /* 2nd date: month (1-12) */
  39.   int year2                                       /* 2nd date: year (xxxx) */
  40. ) ;
  41.  
  42.  
  43. /*----- End Header File ---------------------------------------------------*/
  44.  
  45. #endif
  46.